package com.umbrella.worker.service;

import com.umbrella.worker.dto.NeedDO;
import com.umbrella.worker.query.NeedQuery;
import com.umbrella.worker.result.ResultDO;

public interface INeedService {
	
	public ResultDO create(NeedDO needDO);
	
	public ResultDO modify(NeedDO needDO);
		
	public ResultDO updateStatus(NeedDO needDO);
	
	public ResultDO remove(int needId);
	
	public ResultDO get(int needId);
	
	public ResultDO list(NeedQuery needQuery);
	
	public ResultDO confirm(NeedDO needDO);
	
	public ResultDO waitList(NeedQuery query);
	
	public ResultDO getByOrderId(Integer orderId);

}

